import http from '@/utils/http';

// 获取购物车列表
let getCartList = ()=>http(`/api/front/cart/list?page=1&limit=20&isValid=true`);
// 添加坚守商品数量
let addOrReduceGoodsNum = (data)=>http(`/api/front/cart/num`,data,'post',{
    "Content-Type":"application/x-www-form-urlencoded"
})
export {
    getCartList,
    addOrReduceGoodsNum
}